package com.ruiyian.bridge.info.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruiyian.common.annotation.Excel;
import com.ruiyian.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 监测日报
 * @Author: jeecg-boot
 * @Date: 2020-08-25
 * @Version: V1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("t_dialy_report")
public class DialyReport {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 报告名称
     */
    @Excel(name = "报告名称", width = 15)
    private String reportName;
    /**
     * 报告类型
     */
    @Excel(name = "报告类型", width = 15)
    private String reportType;
    /**
     * 报告日期
     */
    @Excel(name = "报告日期", width = 15)
    private String reportTime;
    /**
     * 报告url
     */
    @Excel(name = "报告url", width = 15)
    private String reportUrl;
    /**
     * 创建人
     */
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private java.util.Date createTime;

    /**
     * 所属桥梁ID
     */
    @Excel(name = "所属桥梁ID", width = 15)
    private Long bridgeId;
    private String bridgeName;
    @TableField(exist = false)
    private String delFlag;
}
